package com.eastjet.maintenance.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 故障类别表
 * @TableName device_ft
 */
@TableName(value ="device_ft")
@Data
public class DeviceFt implements Serializable {
    /**
     * 编号
     */
    @TableId(type = IdType.AUTO)
    private Integer ftId;

    /**
     * 名称
     */
    private String ftName;

    /**
     * 级别(1最大以此类推)
     */
    private Integer ftLevel;

    /**
     * 父级
     */
    private Integer ftFather;

    /**
     * 编码
     */
    private String code;

    /**
     * 排序
     */
    private Integer ftSort;

    /**
     * 状态(0-启用 1-禁用)
     */
    private Integer ftState;

    /**
     * 备注
     */
    private String ftNotes;

    /**
     * 逻辑删除
     */
    private Integer isDelete;

    @Override
    public String toString() {
        return "DeviceFt{" +
                "ftId=" + ftId +
                ", ftName='" + ftName + '\'' +
                ", ftLevel=" + ftLevel +
                ", ftFather=" + ftFather +
                ", code='" + code + '\'' +
                ", ftSort=" + ftSort +
                ", ftState=" + ftState +
                ", ftNotes='" + ftNotes + '\'' +
                ", isDelete=" + isDelete +
                '}';
    }
}